package com.zjcode.cdcer.enums;

import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.Set;

/**
 * @createTime: 2023-10-09
 * @creater: yong
 */
public enum NeedTreatmentEnum {
    // 10，11，13，15，21，221，222，23，24，29，30，141，142，25，26，27，28
//    NJ1("食管高级别上皮内瘤变", "79"),
//    NJ2("早期食管癌","19"),
//    NJ3("贲门高级别上皮内瘤变","186"),
//    NJ4("早期贲门癌","176"),
//    NJ5("胃高级别上皮内瘤变","266"),
//    NJ6("早期胃癌","208");
    BL10("鳞状上皮高级别上皮内瘤变", "10"),
    BL11("鳞状上皮上皮内瘤变不能分类 (NOS)","11"),
    BL13("鳞状上皮高级别上皮内瘤变可疑浸润","13"),
    BL15("鳞状细胞癌","15"),
    BL21("腺上皮高级别上皮内瘤变","21"),
    BL221("黏膜内腺癌","221"),
    BL222("黏膜下层腺癌","222"),
    BL23("腺癌","23"),
    BL24("腺鳞癌","24"),
    BL29("间叶来源肿瘤","29"),
    BL30("食管鳞状上皮乳头状瘤","30"),
    BL141("黏膜内鳞状细胞癌","141"),
    BL142("黏膜下层鳞状细胞癌","142"),
    BL25("神经内分泌癌 (NEC，包括小细胞癌、大细胞神经内分泌癌)","25"),
    BL26("神经内分泌肿瘤 (NET G1、G2、G3)","26"),
    BL27("癌不能分类(NOS)","27"),
    BL28("淋巴瘤","28");
    private String id;
    private String name;


    NeedTreatmentEnum(String name, String id) {
        this.id = id;
        this.name = name;
    }
    public static Set<String> getIds(){
        HashSet<String> ids = new HashSet<>();
        for (NeedTreatmentEnum value : values()) {
            ids.add(value.id);
        }
        return ids;
    }
    public static Set<String> getNames(){
        HashSet<String> names = new HashSet<>();
        for (NeedTreatmentEnum value : values()) {
            names.add(value.name);
        }
        return names;
    }

}
